







<div class="x-body">
    <div class="layui-row">

    </div>
    <xblock>
        <button class="layui-btn " ><ob_link><a  href="{:url('add_level')}" style="color: white"> 新 增</a></ob_link></button>
    </xblock>
    <table class="layui-table x-admin">
        <thead>
        <tr>
            <!--<th>-->
            <!--<div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>-->
            <!--</th>-->
            <th>ID</th>
            <th>等级名称</th>
            <th>等级图标</th>
            <th>等级别称</th>
            <th>团队奖励</th>
            <th>平级奖</th>
            <th>团队奖励日封顶（元）</th>
            <th>每日流水贡献奖励百分比</th>
            <th>升级标准</th>
            <th>游戏返点</th>
            <th>亏损返回</th>
            <th>操作</th>

        </thead>
        {notempty name='list'}
        <tbody>
        {volist name='list' id='vo'}
        <tr>
            <td>{$vo.id}</td>
            <td>{$vo.level_name}</td>
            <td>
                <img class="admin-list-img-size" src="{$vo.cover_id|get_picture_url}"/>
            </td>
            <td>{$vo.nickname}</td>

            <td>
                    {volist name='vo.share_list' id='v'}
                <div> 拿 {$v.level}代,
                    {if condition="$v.reward eq true"}
                        {volist name='v.reward' id='ve' key='k'}
                                第{$k}代，拿{$ve}%，
                        {/volist}
                    {/if}
                </div>
                    {/volist}
            </td>
            <td>{$vo.reward}%</td>
            <td>{$vo.share_reward_max}</td>
            <td>
                {$vo.contribution_reward}%
            </td>
            <td class="col-md-3 ">
                <div><label>直推人数:</label><span>{$vo.share_number}</span><label>团队人数:</label><span>{$vo.team_number}</span></div>
            </td>
            <td>{$vo.game_return}</td>
            <td>{$vo.lose_return}%</td>
            <td class="td-manage">

                <ob_link><a title="编辑"  href="{:url('edit_level', array('id' => $vo['id']))}" >
                    <i class="layui-icon">&#xe642;</i>
                </a></ob_link>



            </td>
        </tr>
        {/volist}
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
        {/notempty}

        </tbody>
    </table>


</div>


</body>

</html>

